package org.thanos.demo;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableConfigServer
@ComponentScan(basePackages = "org.thanos.demo")
public class NativeConfigCenterApp {
    public static void main(String[] args) {
        new SpringApplicationBuilder(NativeConfigCenterApp.class)
                .web(WebApplicationType.SERVLET)
                .run(args);
    }
}
